//
//  MCEmailListModel.h
//  TLYL
//
//  Created by miaocai on 2017/11/13.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import <Foundation/Foundation.h>

//简要描述：
//获取收件箱列表
//请求URL：
///web-api/api/v4/email_inbox_list

@interface MCEmailListModel : NSObject

@property (nonatomic,strong) NSString *UserID;
@property (nonatomic,assign) int CurrentPageSize;
@property (nonatomic,assign) int CurrentPageIndex;

@property (nonatomic,strong) NSString* ID;// 当前消息ID

@property (nonatomic,strong) NSString *Title;//标题
@property (nonatomic,strong) NSString *Content;//内容

@property (nonatomic,strong) NSString *SendDateTime;//发送时间
@property (nonatomic,assign) int SendPersonLevel;//发件人级别 见备注1

@property (nonatomic,strong) NSString *SendPerson;//  发件人名称 见备注1
@property (nonatomic,assign) int ReceiveUserID;//收件人 ID

@property (nonatomic,strong) NSString *ReceivePerson;//收件人名称
@property (nonatomic,assign) int EmailState;//此消息是否已读（1：已读，2：未读）

@property(nonatomic,strong) void(^callBackSuccessBlock)(id manager);
@property(nonatomic,strong) void(^callBackFailedBlock)(id manager,NSDictionary *errorCode);
- (void)refreashDataAndShow;

@end

/*
{
    Code = 200;
    DataCount = 4;
    EmailReceiveBoxs =     (
                            {
                                Content = "您发出的红包未被抢光，剩余金额已返还至账户余额。";
                                EmailState = 2;
                                ID = 2311;
                                ReceivePerson = lu02;
                                ReceiveUserID = 167;
                                SendDateTime = "2018-06-27 09:34:50";
                                SendID = 1172;
                                SendPerson = "";
                                SendPersonLevel = 3;
                                SendUserID = 0;
                                Sign = 0;
                                Title = "您有一笔红包退款，请注意查收！";
                            },
                            {
                                Content = "您发出的红包未被抢光，剩余金额已返还至账户余额。";
                                EmailState = 2;
                                ID = 2310;
                                ReceivePerson = lu02;
                                ReceiveUserID = 167;
                                SendDateTime = "2018-06-27 09:34:31";
                                SendID = 1171;
                                SendPerson = "";
                                SendPersonLevel = 3;
                                SendUserID = 0;
                                Sign = 0;
                                Title = "您有一笔红包退款，请注意查收！";
                            }
                            );
    PageCount = 1;
}
*/








































